﻿function ExpertList(data) {
    this.Id = ko.observable(data.Id ? data.Id : 0);
    this.Created = ko.observable(data.Created ? data.Created : "");
    this.Updated = ko.observable(data.Updated ? data.Updated : "");
    this.Name = ko.observable(data.Name ? data.Name : "");
    this.IsBlackList = ko.observable(data.IsBlackList ? data.IsBlackList : false);
    this.OwnerId = ko.observable(data.OwnerId ? data.OwnerId : false);
    this.ExpertProfiles = ko.observableArray(data.ExpertProfiles ? data.ExpertProfiles : []);
}